package com.dachuang.canjiren.mapper;

import com.dachuang.canjiren.entity.Comment;
import com.dachuang.canjiren.entity.Follow;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-07-27
 */
@Repository
public interface FollowMapper extends BaseMapper<Follow> {
    /**
     *点赞
     * @param follow
     * @return
     */
    int insertFollow(Follow follow);

    Follow selectFollow(Follow follow);

    List<Follow> selectFollowList();

    int deleteFollow(Follow follow);
}
